import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
var _excluded = ["className"];
import React from 'react';
import classNames from 'classnames';
import { Button, Form } from 'antd';
import styles from "./index.less?modules";
var FormItem = Form.Item;

var LoginSubmit = function LoginSubmit(_ref) {
  var className = _ref.className,
      rest = _objectWithoutProperties(_ref, _excluded);

  var clsString = classNames(styles.submit, className);
  return /*#__PURE__*/React.createElement(FormItem, null, /*#__PURE__*/React.createElement(Button, Object.assign({
    size: "large",
    className: clsString,
    type: "primary",
    htmlType: "submit"
  }, rest)));
};

export default LoginSubmit;